package com.iflytek.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.iflytek.entity.Classroom;
import com.iflytek.query.ClassroomQuery;

import java.util.List;

/**
* @author Administrator
* @description 针对表【classroom】的数据库操作Service
* @createDate 2022-09-24 14:41:19
*/
public interface ClassroomService extends IService<Classroom> {
    PageInfo<Classroom> getAllClassroomList(ClassroomQuery query, Integer pageName, Integer pageSize);


    Classroom getClassNo(String classNo);

    Classroom getByName(String name);

    int delBatchByIds(List<String> ids);

    int deleteById(Integer id);

    int updateMsgById(Classroom classroom);

    int saveClassroom(Classroom classroom);

//    Map<String, Object> getClassInfo(Classroom classroom);

}
